package com.study.lxy.security;

public class SM2Key {

    private String pubKeyX;
    private String pubKeyY;
    private String privateKey;


    public String getPubKeyX() {
        return pubKeyX;
    }

    public void setPubKeyX(String pubKeyX) {
        this.pubKeyX = pubKeyX;
    }

    public String getPubKeyY() {
        return pubKeyY;
    }

    public void setPubKeyY(String pubKeyY) {
        this.pubKeyY = pubKeyY;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("SM2Key{");
        sb.append("pubKeyX='").append(pubKeyX).append('\'');
        sb.append(", pubKeyY='").append(pubKeyY).append('\'');
        sb.append(", privateKey='").append(privateKey).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
